//
//  MXBottomView.h
//  MXArcChart
//
//  Created by 马彦 on 16/11/9.
//  Copyright © 2016年 MX. All rights reserved.
//

#import "MXChartBase.h"

typedef NS_ENUM(NSUInteger, ChartLegendStyle) {
    ChartLegendStyleSquare = 0,
    ChartLegendStyleCircle = 1,
};

@protocol BottomViewDelegate <NSObject>

- (void)bottomViewWidth:(CGFloat)width;

@end

@interface MXBottomView : MXChartBase

@property (nonatomic, assign) ChartLegendStyle legendStyle;

@property (nonatomic, weak) id<BottomViewDelegate> delegate;

/**  颜色 */
@property (nonatomic, strong) NSArray *colorArray;
/**  名称 */
@property (nonatomic, strong) NSArray *nameArray;

@property (nonatomic, strong) UIColor *nameColor;


@end
